package com.bwie.remote;

import com.bwie.common.domain.Users;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("bwie-system")
public interface UserRemote {
    @GetMapping("/user/login/{tel}")
    public Result<Users> login(@PathVariable("tel") String tel);
}
